package com.lwm.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.lwm.domain.FactoryDetail;
import com.lwm.domain.FactoryModeling;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 工厂建模dto
 */
@EqualsAndHashCode(callSuper = true)
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)// 忽略空的数据字段
public class FactoryModelingDto extends FactoryModeling {

    /**
     * 工厂建模明细信息
     */
    private List<FactoryDetail> factoryDetailList;

    /**
     * 工厂建模id
     */
    private Long factoryId;

    /**
     * 物料档案id
     */
    private Long recordId;

    /**
     * 设备信息id
     */
    private Long deviceId;

    /**
     * 设备id集合
     */
    private List<Long> deviceIdList;

    /**
     * 明细id集合
     */
    private List<Long> detailIds;
}
